<!DOCTYPE html>
<html>
<head>
    <title>订单单品</title>
		<#include "/header.html">
            <style>
                .form-control-new {
                    /* display: block; */
                    /* width: 100%; */
                    height: 34px;
                    padding: 6px 12px;
                    font-size: 14px;
                    line-height: 1.42857143;
                    color: #555;
                    background-color: #fff;
                    background-image: none;
                    border: 1px solid #ccc;
                    border-radius: 4px;
                    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
                    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
                    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
                    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
                    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
                }


            </style>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">



        <div class="grid-btn">
            <a class="btn btn-warning" @click="back"><i class="fa fa-pencil-square-o"></i>&nbsp;返回</a>
            <a class="btn btn-primary" @click="preview"><i class="fa fa-pencil-square-o"></i>&nbsp;打印预览</a>
        </div>


        <div style="margin-top: 20px; margin-bottom: 20px">
            <div class="form-group col-sm-2">订单号: ${order.orderNum}</div>
            <div class="form-group col-sm-2">采购商: ${shop.name}</div>
            <div class="form-group col-sm-2">总金额: ${order.totalPrice}(元)</div>
            <div class="form-group col-sm-2">业务员: ${user.username}</div>
            <div class="form-group col-sm-2">出货时间: ${order.createTime?string("yyyy-MM-dd HH:mm")}</div>
            <div class="form-group col-sm-2">
                <input type="hidden" id = "orderId" value="${order.id}">
                <label class="control-label">运费:</label>
                <input type="text"  value="${order.logisticsFee!}" id="logisticsFee" class="form-control-new" placeholder="订单号">
                <label>(元)</label>
            </div>
            <a class="btn btn-success" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>

        </div>


        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

</div>

<script src="${request.contextPath}/statics/js/modules/sys/orderitem.js?_${.now?long}"></script>
</body>
</html>